
<div id="inner-container" class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box">
                <div class="box-header">
                    <h3 class="box-title">{{'CONFIG.LINKAGE.LINKAGE_TITLE'|translate}}</h3>
                    <div class="box-tools">
                        <i class="fa fa-plus toolbar-icon" ui-sref="config.linkageForm" title="新建" style="margin-top: 4px;"></i>
                        <!--<div class="input-group input-group-sm" style="width: 150px; margin-left: 5px; float: right;">-->
                            <!--<input type="text" name="table_search" class="form-control pull-right" placeholder="Search">-->
                            <!--<div class="input-group-btn">-->
                                <!--<button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>-->
                            <!--</div>-->
                        <!--</div>-->
                    </div>
                </div>
                <!-- /.box-header -->
                <div class="box-body table-responsive no-padding">
                    <table class="table table-hover">
                        <tbody>
                        <tr>

                            <th>{{'CONFIG.LINKAGE.LINK'|translate}}</th>
                            <th>{{'CONFIG.LINKAGE.BY_LINKAGE'|translate}}</th>
                            <th>{{'CONFIG.LINKAGE.CREATE_TIME'|translate}}</th>

                            <th>{{'CONFIG.LINKAGE.OPERATE'|translate}}</th>

                            <th></th>
                        </tr>
                        <tr ng-repeat="link in list">

                            <td>{{link.activeWidgetName}}</td>
                            <td>{{link.passiveWidgetName}}</td>
                            <td>{{link.createDate}}</td>
                            <td>
                                <i class="fa fa-edit toolbar-icon" ui-sref="config.linkageEditForm({id:link.id})"title="{{'COMMON.EDIT'|translate}}"></i>&nbsp;&nbsp;
                                <i class="fa fa-trash-o toolbar-icon"  ng-click="delete(link.id)" title="{{'COMMON.DELETE'|translate}}"></i>&nbsp;&nbsp;
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>